﻿
using Abp.Runtime.Validation;
using Yq.BookList.Dtos;

namespace Yq.BookList.Blog.Dtos
{
    /// <summary>
    /// 
    /// </summary>
    public class GetPostInput:PagedAndFilteredInputDto, IShouldNormalize
    {
        /// <summary>
        /// 
        /// </summary>
        public void Normalize()
        {
            if (string.IsNullOrWhiteSpace(Sorting))
            {
                Sorting = "Id";
            }
        }
    }
}